package controllers

import (
	"github.com/astaxie/beego"
	"time"
)

type MainController struct {
	beego.Controller
}

func (c *MainController) Get() {
	c.Data["Website"] = "beego.me" + time.Now().String()
	c.Data["Email"] = "astaxie@gmail.com"
	c.Data["Printer"] = "welcome to go's world！" + beego.AppConfig.String("appname") + beego.AppConfig.String("httpport")
	c.TplName = "index.html"
}
